package com.ruoyi.health.report.domain.zkxc;

import com.ruoyi.common.core.enums.ImageFieldEnum;
import com.ruoyi.health.report.action.SaveImageAction;
import lombok.Data;

import java.util.Base64;
import java.util.List;

/**
 * @author ChenYF
 * @date 2025-09-03 9:34
 */
@Data
public class WzPushEntity {
    private String mWJJQResult;
    private List<Float> nums;
    private String tendency; //"兼痰湿质",
    private String totalConsultationFeatureDesc; //"阴虚质兼痰湿质",
    private String constitution; //"阴虚质",
    private String optionResult; //"3|3|3|3|3|3|3|3|5|3|3|3|3|1|2|1|1|1|1|1|4|4|2|2|2|2|2|3|2|2|3|3|3",
    private String constitutionQuestionType; //2,
    private GxyResult mGXYResult; //null,
    private String childResult; //null,
    private WzResult result;

    @Data
    public static class WzResult {
        private Integer id; // 324,
        private String season; // "秋",
        private String mentalAdjustment; // "",
        private String environmentalLiving; // "",
        private String dietAdvice; // "饮食宜清淡，可多吃些芝麻、莲藕、百合、银耳、雪梨、甘蔗、淡菜、紫菜、冬瓜、黄瓜、菠菜、枸杞、葡萄、罗汉果、猪肉、鸭肉、兔肉、海参、龟肉、鳖肉、鱼类等清淡食物淡食物，对于葱、姜、蒜、椒等辛味之品则应少吃。食物要顺应季节的变化而有所不同，夏季暑湿较重，尤其宜多食清热化湿之物，如冬瓜、苦瓜、绿豆、薏苡仁、扁豆、莲米等。",
        private String tendency; // "有痰湿质倾向",
        private String musicMaintenancePlan; // "",
        private String constitution; // "阴虚质",
        private String constitutionCharacteristics; // "发育较差,手足心热,皮肤干燥,面色潮红,夜眠不宁,腹圆肥满,四肢困重不爽,不喜活动",
        private String fiveToneTherapy; // "",
        private String externalCharacteristics; // "",
        private String psychologicalCharacteristics; // "",
        private String dietAvoid; // "远离肥腻厚味、燥烈之品，葱、姜、蒜、椒等辛味之品则应少吃，不要过食冰冻食物，以免影响脾胃的运化。",
        private String diseaseTrends; // "",
        private String resultAnalysis; // "阴虚质是由于体内津液精血等阴液亏少，以阴虚内热为主要特征的体质状态，有痰湿质倾向是由于水液内停而痰湿凝聚，可有素体怕热，不耐夏热，常手足心热，眼睛巩膜红丝较多，浑浊，目干涩，视物昏花，情绪波动较大，头目眩晕，头重脚轻，腰膝酸软无力，失眠等表现。此体质人士不耐受暑、热、燥邪。其病证倾向易患不寐、便秘、眩晕、咳嗽、喉痹、消渴、目疾、肺结核等，患病易于化热等。",
        private String treatmentPrinciples; // "",
        private String exerciseAdvice; // "阴虚体质的人在完成整套的八段锦后，可以增加两个动作来加强效果，也就是“摇头摆尾去心火”与“背后七颠百病消”。",
        private String endowmentCharacteristics; // "",
        private String musicPlaylists; // "",
        private List<Exercise> exerciseList;
        private String physiologicalCharacteristics;
        private String seasonAdvice;
    }

    @Data
    public static class Exercise {
        private String exerciseContent; // "动作一：两足横开，双膝下蹲，成\"骑马步\"。上体正下，稍向前探，两目平视，双手反按在膝盖上，双肘外撑。以腰为轴，头脊要正，将躯干划弧摇转至左前方，左臂弯曲，右臂绷直，肘臂外撑，头与左膝呈一垂线，臀部向右下方撑劲，目视右足尖；稍停顿后，随即向相反方向，划弧摇至右前方。反复十数次。\n动作二：上体正下，稍向前探，两目平视，双手反按在膝盖上，双肘外撑。\n动作三：以腰为轴，头脊要正，将躯干划弧摇转至左前方，左臂弯曲，右臂绷直，肘臂外撑，头与左膝呈一垂线，臀部向右下方撑劲，目视右足尖。\n动作四：稍停顿后，随即向相反方向，划弧摇至右前方。反复十数次。",
        private Integer picId; // 2131624042,
        private String exerciseName; // "摇头摆尾去心火",
        @SaveImageAction(imageKey = ImageFieldEnum.EXERCISE_IMAGE)
        private String exerciseImage; // ""
    }
}
